<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1"><!--移动设备优先-->
	<title></title>
	<style type="text/css">@import url("<c:url value="/css/lib/bootstrap.min.css"/>");</style>
	<style type="text/css">@import url("<c:url value="/css/lib/V2.0/weknow.css"/>");</style>
	<style type="text/css">@import url("<c:url value="/css/lib/font-awesome.min.css"/>");</style>
	<style type="text/css">@import url("<c:url value="/plugins/jquery-ui/jquery-ui.min.css"/>");</style>
	<style type="text/css">@import url("<c:url value="/css/lib/boxImg.css"/>");</style>
	<script type="text/javascript" src="//api.map.baidu.com/api?v=1.5&ak=uOqdzZgQFY83xmQ4bqIQlixR"></script>

	<link href="css/lib/bootstrap.min.css" rel="stylesheet" type="text/css"  media="print" />
	<link href="css/pc/outpatient/outpatient_print.css?v1.0" rel="stylesheet" type="text/css"  media="print" />

	<style type="text/css">
		.div_tab_panel{
			height:60px;
			border: solid black 1px;
			border-left: none;
			padding: 10px;
			background-color: #fff;
			cursor:pointer;
			display: inline-block;
			width: 16.6%;
			float: left;
		}

		.active_tab{
			background-color: #3D8AE1;
			color: white;
		}

		#instrument_disinfect_sec .form-group{
			margin-right:50px;
		}

		#waste_delivery_sec,#prescription_sec,#instrument_disinfect_sec,#test_sec .form-group{
			margin-right:50px;
		}
		/* 消毒页面TAB用样式 */
		.active_tab_disinfect {
			border-bottom: 2px solid #6e8cd7;
			color: #6e8cd7 !important;
		}
		.disinfect_tab{
			width: 160px;
			text-align: center;
			padding-bottom: 10px;
			cursor:pointer;
		}
		.search_key_color{
			color:#3D8AE1;
		}

		.error_st{
			color:red;
		}

		before,after{
			opacity: .3;
			position: absolute;
			top: -5px;
			right: 0;
		}

		after{
			top: 5px;
		}

		.trA{
			color: #000000;
			position: relative;
			padding-right: 16px;
			cursor: pointer;
		}
		#institution_name_dis{
			margin-left: -120px;
		}
	</style>
</head>
<body>
<!-- Preloader -->
<div class="animationload">
	<div class="loader">
		Loading...
	</div>
</div>
<!-- 处理类型 -->
<!-- 3:器械消毒 4：医废处置 -->
<input type="hidden" id="operateType" value="${operateType}"/>
<!-- 地区ID -->
<input type="hidden" id="townId" value="${townId}">
<!-- 地区ID -->
<input type="hidden" id="status" value="${status}">
<!-- 当前选中的机构id -->
<input type="hidden" id="institutionId"/>

<!-- End Preloader -->
<div class="container-fluid">
	<!-- 机构汇总 -->
	<section id="main_page"  class="toggle-input toggle_doctot_register_info" >
		<!-- 头部信息 -->
		<div class="row">
			<div class="col-xs-6 text-left">
				<div class="form-inline">
					<div class="form-group">
						日期
						<div class="input-group" >
							<input type="text" class="form-control my_date_control" style="ime-mode:active" maxlength="10" id="dtFrom" value="${dtFrom}" autocomplete="off">
						</div>
					</div>
					<div class="form-group">
						--
						<div class="input-group" >
							<input type="text" class="form-control my_date_control" style="ime-mode:active" maxlength="10" id="dtTo"  value="${dtTo}" autocomplete="off">
						</div>
					</div>
					<%--<div class="form-group form-inline">--%>
					<%--<select class="form-control" id="year" name="year" style="margin-right:5px;">--%>
					<%--<c:forEach var="year" begin="${thisYear-10}" end="${thisYear}" step="1">--%>
					<%--<option value="${year}"<c:if test="${year eq thisYear}"> selected="selected"</c:if>>${year}</option>--%>
					<%--</c:forEach>--%>
					<%--</select>年--%>
					<%--<select class="form-control" id="month" name="month" style="margin-right:5px;">--%>
					<%--<option value="01"<c:if test="${thisMonth eq '01'}"> selected="selected"</c:if>>01</option>--%>
					<%--<option value="02"<c:if test="${thisMonth eq '02'}"> selected="selected"</c:if>>02</option>--%>
					<%--<option value="03"<c:if test="${thisMonth eq '03'}"> selected="selected"</c:if>>03</option>--%>
					<%--<option value="04"<c:if test="${thisMonth eq '04'}"> selected="selected"</c:if>>04</option>--%>
					<%--<option value="05"<c:if test="${thisMonth eq '05'}"> selected="selected"</c:if>>05</option>--%>
					<%--<option value="06"<c:if test="${thisMonth eq '06'}"> selected="selected"</c:if>>06</option>--%>
					<%--<option value="07"<c:if test="${thisMonth eq '07'}"> selected="selected"</c:if>>07</option>--%>
					<%--<option value="08"<c:if test="${thisMonth eq '08'}"> selected="selected"</c:if>>08</option>--%>
					<%--<option value="09"<c:if test="${thisMonth eq '09'}"> selected="selected"</c:if>>09</option>--%>
					<%--<option value="10"<c:if test="${thisMonth eq '10'}"> selected="selected"</c:if>>10</option>--%>
					<%--<option value="11"<c:if test="${thisMonth eq '11'}"> selected="selected"</c:if>>11</option>--%>
					<%--<option value="12"<c:if test="${thisMonth eq '12'}"> selected="selected"</c:if>>12</option>--%>
					<%--</select>月--%>
					<%--</div>--%>
				</div>
			</div>
			<div class="col-xs-6 text-right">
				<div class="form-inline">
					<div class="form-group">
						医疗机构类型
						<div class="input-group">
							<select id="institutionTypeFirstScreen" name="institutionTypeFirstScreen" class="form-control">
								<option value="">全部</option>
								<c:forEach var="a" items="${typeFirstList}">
									<option value="${a.value}" <c:if test="${a.value eq institutionTypeFirst}"> selected="selected"</c:if>>${a.fullName}</option>
								</c:forEach>
							</select>
						</div>
					</div>
					<div class="form-group">
						医疗机构名
						<div class="input-group">
							<input type="text" class="form-control" style="ime-mode:inactive" id="institutionName" autocomplete="off" value="${institutionName}">
						</div>
					</div>
					<div class="form-group">
						<div class="input-group">
							<button type="button" id="search" class="btn btn-primary"  style="width:90px;">搜索</button>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="row" style="padding-left:0px;">
			<div class="col-xs-12">
                <!-- 权限 -->
                <c:if test="${jurisdictionMap.invs_prescription_violate}">
                    <input type="hidden" id="jurisdiction_invsPrescriptionViolate" value="true">
                </c:if>
                <c:if test="${jurisdictionMap.invs_instrument_disinfect}">
                    <input type="hidden" id="jurisdiction_invsInstrumentDisinfect" value="true">
                </c:if>
                <c:if test="${jurisdictionMap.invs_waste_delivery}">
                    <input type="hidden" id="jurisdiction_invsWasteDelivery" value="true">
                </c:if>
                <c:if test="${jurisdictionMap.invs_sewage_test_report}">
                    <input type="hidden" id="jurisdiction_invsSewageTestReport" value="true">
                </c:if>
                <c:if test="${jurisdictionMap.remote_panel}">
                    <input type="hidden" id="jurisdiction_remotePanel" value="true">
                </c:if>
                <c:if test="${jurisdictionMap.threeDay_panel}">
                    <input type="hidden" id="jurisdiction_threeDayPanel" value="true">
                </c:if>
				<table class="table table-condensed table-hover table-bordered" id="dataTable">
					<thead>
					<tr>
						<th class="text-center" style="width:20%;">医疗机构</th>
						<th class="text-center" style="min-width:8%;<c:if test="${!jurisdictionMap.invs_prescription_violate}">display:none;</c:if>">
							<span onclick="orderByNameNoTop1('dataTable',1,'string(int)');"><span onclick="updateSort(this)" class="trA">处方违规<before>▲</before><after>▼</after></span></span>
						</th>
						<th class="text-center" style="min-width:8%;<c:if test="${!jurisdictionMap.remote_panel}">display:none;</c:if>">
							<span onclick="orderByNameNoTop1('dataTable',2,'string(int)');"><span onclick="updateSort(this)" class="trA">异地登陆<before>▲</before><after>▼</after></span></span>
						</th>
						<th class="text-center" style="min-width:8%;<c:if test="${!jurisdictionMap.threeDay_panel}">display:none;</c:if>">
							<span onclick="orderByNameNoTop1('dataTable',3,'string(int)');"><span onclick="updateSort(this)" class="trA">三天无处方<before>▲</before><after>▼</after></span></span>
						</th>
						<th class="text-center" style="min-width:8%;<c:if test="${!jurisdictionMap.invs_instrument_disinfect}">display:none;</c:if>">
							<span onclick="orderByNameNoTop1('dataTable',4,'string(int)');"><span onclick="updateSort(this)" class="trA">消毒登记<before>▲</before><after>▼</after></span></span>
						</th>
						<th class="text-center" style="min-width:8%;<c:if test="${!jurisdictionMap.invs_waste_delivery}">display:none;</c:if>">
							<span onclick="orderByNameNoTop1('dataTable',5,'string(int)');"><span onclick="updateSort(this)" class="trA">医废登记<before>▲</before><after>▼</after></span></span>
						</th>
						<th class="text-center" style="min-width:8%;<c:if test="${!jurisdictionMap.invs_sewage_test_report}">display:none;</c:if>">
							<span onclick="orderByNameNoTop1('dataTable',6,'string(int)');"><span onclick="updateSort(this)" class="trA">检测审查<before>▲</before><after>▼</after></span></span>
						</th>
						<th class="text-center" style="width:8%;">操作</th>
					</tr>
					</thead>
					<tbody id="tbodyInstitutionList">
					</tbody>
				</table>
			</div>
		</div>
	</section>
	<!-- 明细 -->
	<section id="detail" class="toggle-input" style="display:none;">
		<header style="border-bottom: 1px solid #F3F3F7; margin-bottom: 5px;">
			<div class="row">
				<div class="col-md-3">
					<h3 id="headTitle" style="margin-top: 10px; font-size: 20px;">
						<i class="fa fa-long-arrow-left" style="color: #c5c5c5; border-right:1px solid #c5c5c5;padding-right: 5px;" id="backToWorkspace"></i>
						<span style="">机构汇总</span><span id="year_month"></span>
					</h3>
				</div>
				<div class="col-md-7 text-center">
					<h3><span id="institution_name_dis">医疗机构XXXX</span></h3>
				</div>
			</div>
		</header>
		<div class="row">
			<div class="col-md-8 col-sm-offset-2 text-center">
                <div id="prescription_panel" data-operate_idx="1" class="div_tab_panel" style="border: solid black 1px;
                     <c:if test="${!jurisdictionMap.invs_prescription_violate}">display:none;</c:if>">
                    <span>处方违规</span>
                    <div id="prescription_dis">(无)</div>
                </div>

				<!--
                <div id="prescription_panel" data-operate_idx="2" class="div_tab_panel" style="border: solid black 1px;">
                    <span>病历违规</span>
                    <div id="medical_dis">(无)</div>
                </div>
                 -->
                <div id="remote_panel" data-operate_idx="6"  class="div_tab_panel" style="border: solid black 1px;
                     <c:if test="${!jurisdictionMap.remote_panel}">display:none;</c:if>">
                    <div>异地登陆</div>
                    <div id="remote_dis">(无)</div>
                </div>

                <div id="threeDay_panel" data-operate_idx="7"  class="div_tab_panel" style="border: solid black 1px;
                        <c:if test="${!jurisdictionMap.threeDay_panel}">display:none;</c:if>">
                    <div>三天无处方</div>
                    <div id="threeDay_dis">(无)</div>
                </div>

				<div id="instrument_disinfect_panel" data-operate_idx="3" class="div_tab_panel active_tab" style="border: solid black 1px;
                        <c:if test="${!jurisdictionMap.invs_instrument_disinfect}">display:none;</c:if>">
					<div>消毒登记</div>
					<div id="instrument_disinfect_dis">(无)</div>
				</div>
				<div id="waste_delivery_panel" data-operate_idx="4"  class="div_tab_panel" style="border: solid black 1px;
                        <c:if test="${!jurisdictionMap.invs_waste_delivery}">display:none;</c:if>">
					<div>医废登记</div>
					<div id="waste_delivery_dis">(无)</div>
				</div>
				<div id="test_panel" data-operate_idx="5"  class="div_tab_panel" style="border: solid black 1px;
                    <c:if test="${!jurisdictionMap.invs_sewage_test_report}">display:none;</c:if>">
					<div>检测审查</div>
					<div id="sewage_dis">(无)</div>
				</div>
			</div>
		</div>
		<!-- 处方 明细显示区域 -->
		<section id="prescription_sec" class="detail_area" style="display:none;">
			<div class="row">
				<div class="col-xs-12" style="margin-top:15px;">
					<div class="form-inline">
						<div class="form-group">
							类别
							<div class="input-group">
								<select id="msgId" class="form-control">
									<option value="9">全部</option>
									<c:forEach var="a" items="${violationMessageList}">
										<option value="${a.msgId}">${a.title}</option>
									</c:forEach>
								</select>
							</div>
						</div>
					</div>
				</div>
			</div>

			<table class="table table-condensed table-hover table-bordered">
				<thead class="bg-default" id="thead-prescription"></thead>
				<tbody id="tbody-prescription"></tbody>
			</table>
		</section>

		<!-- 异地执业 明细显示区域 -->
		<section id="remote_sec" class="detail_area" style="display:none;">
			<div class="row">
				<div class="col-xs-12" style="margin-top:15px;">
					<div class="form-inline">
<%--						<div class="form-group">--%>
<%--							类别--%>
<%--							<div class="input-group">--%>
<%--								<select name="businessSubType" id="remoteType" class="form-control">--%>
<%--&lt;%&ndash;									<option value="9">全部</option>&ndash;%&gt;--%>
<%--									<option value="601">异地开处方</option>--%>
<%--&lt;%&ndash;									<option value="602">三天未登录</option>&ndash;%&gt;--%>
<%--								</select>--%>
<%--							</div>--%>
<%--						</div>--%>
						<div class="form-group">
							状态
							<div class="input-group">
								<select id="remote_checkst" class="form-control">
									<option value="9">全部</option>
									<option value="0">正常</option>
									<option value="-1">异常</option>
								</select>
							</div>
						</div>
					</div>
				</div>
			</div>

			<table class="table table-condensed table-hover table-bordered">
				<thead class="bg-default" id="thead-remote"></thead>
				<tbody id="tbody-remote"></tbody>
			</table>
		</section>

		<!-- 三天无处方 明细显示区域 -->
		<section id="threeDay_sec" class="detail_area" style="display:none;">
			<div class="row">
				<div class="col-xs-12" style="margin-top:15px;">
					<div class="form-inline">
<%--						<div class="form-group">--%>
<%--							类别--%>
<%--							<div class="input-group">--%>
<%--								<select name="businessSubType" id="threeDayType" class="form-control">--%>
<%--									&lt;%&ndash;									<option value="9">全部</option>&ndash;%&gt;--%>
<%--									<option value="701">三天无处方</option>--%>
<%--									&lt;%&ndash;									<option value="602">三天未登录</option>&ndash;%&gt;--%>
<%--								</select>--%>
<%--							</div>--%>
<%--						</div>--%>
						<div class="form-group">
							状态
							<div class="input-group">
								<select id="threeDay_checkst" class="form-control">
									<option value="9">全部</option>
									<option value="0">正常</option>
									<option value="-1">异常</option>
								</select>
							</div>
						</div>
					</div>
				</div>
			</div>

			<table class="table table-condensed table-hover table-bordered">
				<thead class="bg-default" id="thead-threeDay"></thead>
				<tbody id="tbody-threeDay"></tbody>
			</table>
		</section>
		<!-- 器械消毒 明细显示区域 -->
		<section id="instrument_disinfect_sec"class="detail_area" style="display:none;">
			<div class="row">
				<div class="col-xs-12" style="margin-top:15px;">
					<div class="form-inline">
						<div class="form-group">
							区分：
							<div class="input-group">
								<select name="businessSubType" class="form-control business-sub-type">
									<option value="101">器械</option>
									<option value="102">场所</option>
								</select>
							</div>
						</div>

						<!--
                      <div class="form-group">
                          状态：
                          <div class="input-group">
                              <select id="instrument_disinfect_register" name="instrument_disinfect_register" class="form-control">
                                  <option value="9">全部</option>
                                  <option value="2">已消毒</option>
                                  <option value="1">未消毒</option>
                              </select>
                          </div>
                        </div>

                         -->
						<div class="form-group" id="instrumentName_input_area">
							<label class="instrument-name"></label>
							<div class="input-group">
								<select id="instrumentName" name="instrumentName" class="form-control">
								</select>
							</div>
						</div>
					</div>
				</div>
			</div>

			<table class="table table-condensed table-hover table-bordered">
				<thead id="tHeadDisinfectDetailList" class="bg-default"></thead>
				<tbody id="tbodyDisinfectDetailList"></tbody>
			</table>
		</section>
		<!-- 医废处置 明细显示区域 -->
		<section id="waste_delivery_sec" class="detail_area" style="display:none;">
			<div class="row">
				<div class="col-xs-12" style="margin-top:15px;">
					<div class="form-inline">
						<!-- <div class="form-group">
                            登记：
                            <div class="input-group">
                                <select id="waste_delivery_register" name="waste_delivery_register" class="form-control">
                                    <option value="9">全部</option>
                                    <option value="2">已登记</option>
                                    <option value="1">未登记</option>
                                </select>
                            </div>
                          </div> -->
						<div class="form-group">
							来源：
							<div class="input-group">
								<select id="source" name="source" class="form-control">
									<option value="9">全部</option>
									<c:forEach var="a" items="${sourceList}">
										<option value="${a.code}">${a.name}</option>
									</c:forEach>
								</select>
							</div>
						</div>
						<div class="form-group">
							种类：
							<div class="input-group">
								<select id="wasteType" name="wasteType" class="form-control">
									<option value="9">全部</option>
									<c:forEach var="a" items="${wasteTypeList}">
										<option value="${a.code}">${a.name}</option>
									</c:forEach>
								</select>
							</div>
						</div>
						<div class="form-group">
							处置方式：
							<div class="input-group">
								<select id="deliveryType" name="deliveryType" class="form-control">
									<option value="9">全部</option>
									<c:forEach var="a" items="${deliveryTypeList}">
										<option value="${a.code}">${a.name}</option>
									</c:forEach>
								</select>
							</div>
						</div>
					</div>
				</div>
			</div>

			<table class="table table-condensed table-hover table-bordered">
				<thead class="bg-default" id="waste_thead"></thead>
				<tbody id="waste_tbody"></tbody>
			</table>
		</section>
		<!-- 检验情况 明细显示区域 -->
		<section id="test_sec" class="detail_area" style="display:none;">
			<div class="row">
				<div class="col-xs-12" style="margin-top:15px;">
					<div class="form-inline">
						<div class="form-group">
							区分：
							<div class="input-group">
								<select name="businessSubType" class="form-control">
									<option value="301">医疗污水检测报告</option>
									<option value="302">污水余氯日常检测</option>
									<option value="303">消毒器械检测报告</option>
								</select>
							</div>
						</div>
						<!--
                      <div class="form-group">
                          状态：
                          <div class="input-group">
                              <select id="test_report_register" name="test_report_register" class="form-control">
                                  <option value="9">全部</option>
                                  <option value="2">已消毒</option>
                                  <option value="1">未消毒</option>
                              </select>
                          </div>
                        </div>
                         -->
					</div>
				</div>
			</div>

			<table class="table table-condensed table-hover table-bordered">
				<thead id="test_report_thead" class="bg-default"></thead>
				<tbody id="test_report_tbody"></tbody>
			</table>
		</section>
	</section>
</div>

<!-- 图片显示Modal -->
<div class="modal fade" tabindex="-1" role="dialog" id="showImageModal">
	<div class="modal-dialog  modal-lg" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				<h4 id="imageModalTitle" class="modal-title"></h4>
			</div>
			<div class="modal-body">
				<div class="row" style="padding-left:0px;">
					<div class="col-xs-12">
						<table class="table table-condensed table-hover table-bordered">
							<tbody id="tbodyImageList">
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal-dialog -->
</div><!-- /.modal -->


<!-- 地图显示Modal -->
<%--<div class="modal fade" tabindex="-1" role="dialog" id="showMapModal" >--%>
<%--	<div class="modal-dialog  modal-lg" role="document">--%>
<%--		<div class="modal-content">--%>
<%--			<div class="modal-header">--%>
<%--				<button type="button" class="close" data-dismiss="modal">&times;</button>--%>
<%--			</div>--%>
<%--			<div class="modal-body" >--%>
<%--				<div class="row" style="padding-left:0px;">--%>
<%--					<div class="col-xs-12">--%>
<%--						<div id="container" style="margin: 0 auto;"  ></div>--%>
<%--					</div>--%>
<%--				</div>--%>
<%--			</div>--%>
<%--			<!-- 模态框底部 -->--%>
<%--			<div class="modal-footer">--%>
<%--				<button type="button" class="btn btn-secondary primary"  data-dismiss="modal">关闭</button>--%>
<%--			</div>--%>
<%--		</div><!-- /.modal-content -->--%>
<%--	</div><!-- /.modal-dialog -->--%>
<%--</div><!-- /.modal -->--%>
<div class="modal fade" tabindex="-1" role="dialog" id="showMapModal">
	<div class="modal-dialog  modal-lg" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			</div>
			<div class="modal-body">
				<div class="row" style="padding-left:0px;">
					<div class="col-xs-12">
						<div id="container" style="height: 700px; box-sizing: border-box;"  ></div>
					</div>
				</div>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal-dialog -->
</div><!-- /.modal -->



<div style="display: none;">
	<div id="printDiv">
		<!-- 药物处方单 不含附加费-->
		<div class="print-prescription drug-order">
			<div class="pill-top-info">
				<div class="clear">&nbsp;
					<!-- <div class="pill-number-tag fl">NO.<span class="pill-number acography-serial-no">LC8632012463</span></div> -->
					<div style="float: right;">
						<span class="this-page"></span><span>/</span><span class="all-page"></span>
					</div>
				</div>
				<h2 class="pill-title clinic-name"></h2>
				<p class="pill-subtitle"><c:if test="${type == 2 }"><span>西药<c:if test="${autoFlg.drWorkspaceWestTogetherFlg == 1 }">西药/成药</c:if></span></c:if><c:if test="${type == 4 }"><span>成药</span></c:if><span>处方</span></p>
				<div class="pill-detailInfo">
					<div class="healthCard-line clear">
						<span class="pill-detailInfo-title fl">医疗证/医保卡号：</span>
						<span class="patient-healthCard">-</span>
					</div>
					<ul class="pill-detailInfo-one clear list-inline">
						<li>
							<span class="pill-detailInfo-title fl">姓名：</span>
							<span class="patient-name" title=""></span>
						</li>
						<li>
							<span class="pill-detailInfo-title">性别：</span>
							<span class="patient-gender"></span>
						</li>
						<li>
							<span class="pill-detailInfo-title">年龄：</span>
							<span class="patient-age"></span>
						</li>
						<li class="dep">
							<span class="pill-detailInfo-title">科室：</span>
							<span class="department-name">-</span>
						</li>
						<li>
							<span class="pill-detailInfo-title">费别：</span>
							<span class="payment-type-name">自费</span>
						</li>
					</ul>
					<ul class="pill-detailInfo-two clear list-inline">
						<li>
							<span class="pill-detailInfo-title">病历号：</span>
							<span class="patient-no">-</span>
						</li>
						<li>
							<span class="pill-detailInfo-title">住址/电话：</span>
							<span class="living-address-countryside" title="-/-"><span class="patient-ad">-</span>/<span class="patient-phone">-</span></span>
						</li>
					</ul>
					<c:if test="${type == 2 }">
						<ul class="pill-detailInfo-three clear list-inline">
							<li style="width: 100%;">
								<span class="pill-detailInfo-title">临床诊断：</span>
								<span class="showDiagnose"><span class="diagnosis overflowEllipsis" style="max-width: 400px;">  - </span></span>
							</li>
						</ul>
					</c:if>
					<ul class="pill-detailInfo-three clear list-inline">
						<c:if test="${type == 4 }">
							<li>
								<span class="pill-detailInfo-title">临床诊断及证型：</span>
								<span class="showDiagnose"><span class="diagnosis overflowEllipsis">  - </span></span>
							</li>
						</c:if>
						<c:if test="${type == 2 }">
							<li>
								<span class="pill-detailInfo-title">过敏史：</span>
								<span class="showDiagnose"><span class="allergies overflowEllipsis" style="max-width: 280px;">  - </span></span>
							</li>
						</c:if>
						<li>
							<span class="pill-detailInfo-title">开具日期：</span>
							<span class="add-date"></span>
						</li>
					</ul>
				</div>
			</div>
			<div class="pill-middle-info">
				<p class="pill-list clear">
					<span class="pill-list-tag 4editnoshowweight fl" style="display: block;">Rp：</span>
				</p>
				<div class="pill-list-content">
					<ul class="dsn list-inline" style="display: block;">

					</ul>
				</div>
				<div class="pill-state-show">
					<!--以下空白-查看状态显示-->
					<p class="pill-list-hint dsn"><i>（以下空白）</i></p>
				</div>
			</div>

			<div class="already-importInfo" >
				<p class="text-right" style="width: 100%;${showMoneyStyle}">
					<span>处方总金额（元）：￥</span>
					<span class="total-money china-totalPrice" name="totalPrice"></span>
				</p>
			</div>
			<div class="pill-bottom-info">
				<div class="fillOut">
					<ul class="list-inline">
						<li><span>医师：</span><span class="underline"  style="display:inline-block;min-width: 80px;position: relative;"><span name="doctorName"></span></span></li>
						<li><span>审方药师：</span><span class="underline" style="display:inline-block;min-width: 50px;position: relative;top: 6px;"></span></li>
						<li><span>配药药师：</span><span class="underline" style="display:inline-block;min-width: 50px;position: relative;top: 6px;"></span></li>
						<li><span>发药药师：</span><span class="underline" style="display:inline-block;min-width: 50px;position: relative;top: 6px;"></span></li>
					</ul>
				</div>
			</div>
			<c:if test="${type == 4 }">
				<div style="font-size: 12px;position: absolute;bottom: 20px;padding-left: 25px;">
					<div>注:1、本处方当日有效</div>
					<div style="padding-left: 15px;">2、取药时请当面核对药品名称、规格、数量</div>
					<div style="padding-left: 15px;">3、延长处方用量时间原因: 慢性病、老年病、外地、其他</div>
				</div>
			</c:if>
		</div>

		<!-- 注射单 -->
		<div class="print-prescription inject-order " style="display: none;" >
			<div class="pill-top-info" style="height: 200px;">
				<div class="clear">&nbsp;
					<!-- <div class="pill-number-tag fl">NO.<span class="pill-number acography-serial-no">LC8632012463</span></div> -->
					<div style="float: right;">
						<span class="this-page">1</span><span>/</span><span class="all-page">4</span>
					</div>
				</div>
				<h2 class="pill-title clinic-name">${institutionName }</h2>
				<p class="pill-subtitle"><span>注射单</span></p>
				<div class="pill-detailInfo">
					<div class="healthCard-line clear">
						<span class="pill-detailInfo-title fl">医疗证/医保卡号：</span>
						<span class="patient-healthCard">-</span>
					</div>
					<ul class="pill-detailInfo-one clear list-inline">
						<li>
							<span class="pill-detailInfo-title fl">姓名：</span>
							<span class="patient-name" title=""></span>
						</li>
						<li>
							<span class="pill-detailInfo-title">性别：</span>
							<span class="patient-gender"></span>
						</li>
						<li>
							<span class="pill-detailInfo-title">年龄：</span>
							<span class="patient-age"></span>
						</li>
						<li class="dep">
							<span class="pill-detailInfo-title">科室：</span>
							<span class="department-name">-</span>
						</li>
						<li>
							<span class="pill-detailInfo-title">费别：</span>
							<span class="payment-type-name">自费</span>
						</li>
					</ul>
					<ul class="pill-detailInfo-two clear list-inline">
						<li>
							<span class="pill-detailInfo-title">病历号：</span>
							<span class="patient-no">-</span>
						</li>
						<li>
							<span class="pill-detailInfo-title">住址/电话：</span>
							<span class="living-address-countryside" title="-/-"><span class="patient-ad">-</span>/<span class="patient-phone">-</span></span>
						</li>
					</ul>
					<ul class="pill-detailInfo-three clear list-inline">
						<li>
							<span class="pill-detailInfo-title">过敏史：</span>
							<span class="showDiagnose"><span class="allergies overflowEllipsis"  style="max-width: 280px;">  - </span></span>
						</li>
						<li>
							<span class="pill-detailInfo-title">开具日期：</span>
							<span class="add-date"></span>
						</li>
					</ul>
				</div>
			</div>
			<div class="pill-middle-info">

				<div class="pill-list-content">
					<ul class="dsn list-inline" style="display: block;">
					</ul>
				</div>
				<div class="pill-state-show">
					<!--以下空白-查看状态显示-->
					<p class="pill-list-hint dsn"><i>（以下空白）</i></p>
				</div>
			</div>

			<div class="pill-inject-table">
				<div class="fillOut">
					<ul class="list-inline">
						<li style="width: 35%;"><span>医师：</span><span class="underline"  style="display:inline-block;min-width: 80px;position: relative;"><span name="doctorName"></span></span></li>
						<li style="width: 65%;text-align: right;"><span>打印时间：</span><span name="printTime"></span></li>
					</ul>
				</div>
				<table class="table" style="margin-bottom: 10px;">
					<tr>
						<td style="width: 9%;">皮试</td>
						<td colspan="10"></td>
					</tr>
					<tr>
						<td style="width: 9%;" rowspan="2">日期</td>
						<td style="width: 9%;" rowspan="2">核对签名</td>
						<td style="width: 9%;" rowspan="2">加药签名</td>
						<td colspan="2">注射</td>
						<td colspan="2">第二组接瓶</td>
						<td colspan="2">第三组接瓶</td>
						<td colspan="2">拔针</td>
					</tr>
					<tr>
						<td style="width: 9%;">时间</td>
						<td style="width: 9%;">签名</td>
						<td style="width: 9%;">时间</td>
						<td style="width: 9%;">签名</td>
						<td style="width: 9%;">时间</td>
						<td style="width: 9%;">签名</td>
						<td style="width: 9%;">时间</td>
						<td style="width: 9%;">签名</td>
					</tr>
					<tr>
						<td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td>
					</tr>
					<tr>
						<td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td>
					</tr>
					<tr>
						<td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td>
					</tr>
					<tr>
						<td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td>
					</tr>
					<tr>
						<td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td>
					</tr>
					<tr>
						<td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td>
					</tr>
				</table>
			</div>
			<div style="font-size: 12px;padding-left: 25px;">
				<div>注:1、凭此单输液，请妥善保管，按时注射。</div>
				<div style="padding-left: 15px;">2、输液时，护士已按要求调节输液速度，请不要擅自调节输液。输液期间请勿离开输液区，以防意外。</div>
			</div>
		</div>
	</div>
</div>


		<script src="<c:url value="/js/lib/jquery.min.js"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/lib/bootstrap.min.js"/>" type="text/javascript"></script>
		<script src="<c:url value="/plugins/jquery-ui/wn-jquery-ui.js"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/lib/wn-validator.js"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/lib/weknow.js"/>" type="text/javascript"></script>
		<script src="<c:url value="/plugins/jquery.fileDownload.js"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/lib/string-format.js?V0.1"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/lib/number-format.js?V0.1"/>" type="text/javascript"></script>
		<!-- table排序js -->
		<script src="<c:url value="/js/pc/util/sortUtil.js?V1.1"/>" type="text/javascript"></script>
		<!-- 显示图片 -->
		<script src="<c:url value="/js/pc/show_img/show_img.js?${JsVersionProperties.prop.getProperty('show_img')}"/>"  type="text/javascript"></script>
		<!-- 申诉共用js -->
		<script src="<c:url value="/js/pc/appeal/appeal.js?${JsVersionProperties.prop.getProperty('appeal')}"/>"  type="text/javascript"></script>
		<!-- 处方违规 -->
		<script src="<c:url value="/plugins/jquery-printarea/jquery.PrintArea.js?v0.0"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/outpatient/outpatient_medical_prescription_west.js?V0.4"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/prescription_violate/prescription_violate_com.js?V0.7.1"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/summarize/sm_prescription_violate.js?V1.9.12"/>" type="text/javascript"></script>
		<!-- 医废处置js -->
		<script src="<c:url value="/js/pc/waste_delivery/waste_delivery_com.js?V0.6"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/summarize/sm_waste_delivery.js?V0.8.2"/>" type="text/javascript"></script>
		<!-- 消毒明细查询共用js -->
		<script src="<c:url value="/js/pc/instrument_disinfect/instrument_disinfect_common.js?V0.8.1"/>" type="text/javascript"></script>
		<!-- 器械消毒js -->
		<script src="<c:url value="/js/pc/summarize/sm_instrument_disinfect.js?V1.9.9"/>" type="text/javascript"></script>
		<!-- 检测报告js -->
		<script src="<c:url value="/js/pc/sewage/test_report_com.js?V1.2.1"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/summarize/sm_test_report.js?V1.10.1"/>" type="text/javascript"></script>
		<!-- 污水余氯js -->
		<script src="<c:url value="/js/pc/sewage/sewage_com.js?V0.6"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/summarize/sm_sewage.js?V0.9.1"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/summarize/summarize.js?V1.1.8"/>" type="text/javascript"></script>

		<!-- 异地执业js -->
		<script src="<c:url value="/js/pc/remote/remote.js?V0.1"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/remote/remote_com.js?V0.5.1"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/summarize/sm_remote.js?V0.2"/>" type="text/javascript"></script>
		<!-- 三天无处方js -->
		<script src="<c:url value="/js/pc/threeDay/threeDay.js?V0.3"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/threeDay/threeDay_com.js?V0.8"/>" type="text/javascript"></script>
		<script src="<c:url value="/js/pc/summarize/sm_threeDay.js?V0.3"/>" type="text/javascript"></script>
	</body>

</html>

	